<body ontouchstart>
  <weui-toast #success></weui-toast>
  <weui-ptr (refresh)="onRefresh($event)" style="background: rgb(255, 255, 255);">
    <div class="weui-panel weui-panel_access">
      <div class="weui-panel__bd ">
        <weui-loadmore [type]="type" *ngIf="!first"></weui-loadmore>
        <div *ngIf="first===true">
          <div>
            <div class="hospinfo">
              <div>
                <img class="hospimg" src='http://115.159.5.34:8080/YYGHHospital/imgs/{{hospindex?.h_logo}}'>
                <div class="weui-media-box__bd hosptitle">
                  <div class="weui-media-box__title title">{{hospindex?.h_name}}</div>
                  <div class="addres">重庆市{{hospindex?.h_zone}}区妇幼永川区永川路</div>
                  <label class="grade"> {{hospindex?.h_class}}</label>
                  <label class="type"> {{hospindex?.h_profession}}</label>
                </div>
              </div>
            </div>
            <div class="weui-cells content">
              <a routerLink="/appoint/scheduling/{{hospid}}/{{dept?.d_id}}/{{regtype}}" *ngFor="let dept of deptlist" class="weui-cell weui-cell_access">
                <div class="weui-cell__bd">
                  <p>{{dept?.d_name}}</p>
                </div>
                <div class="weui-cell__ft">
                </div>
              </a>
            </div>
          </div>
        </div>
      </div>
    </div>
  </weui-ptr>
  <weui-toptips #toptips></weui-toptips>
</body>